package com.example.demo.service.admin;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.R.Result;
import com.example.demo.domin.Vo.ChartVo;
import com.example.demo.domin.Vo.Dieases;
import com.example.demo.domin.entity.Analytics;

import java.text.ParseException;
import java.util.List;

public interface IChartService extends IService<Analytics> {
    Result<List<ChartVo>> daily(String startDate, String endDate) throws ParseException;

    Result<List<ChartVo>> activeUsers(String startDate, String endDate);

    Result<List<ChartVo>> diseaseCount(String startDate, String endDate);

    Result<List<Dieases>> hotDiseases();
}
